package com.jike.mahjong.service;

import com.jike.mahjong.common.Page;
import com.jike.mahjong.model.MessageModel;
import com.jike.mahjong.model.Version;

import java.util.List;
import java.util.Map;

/**
 * Created by star on 2016/10/14.
 */
public interface MessageService {

    public Page queryMessageInfo(Map<String, Object> para, Page page);

    public Integer insertMessage(MessageModel model);

    public Integer deleteMessage(Map<String, Object> para);

    public Integer updateVersionInfo(Version vo);

    public Version queryVersionInfo(Map<String, Object> para);


    public void sendMsg(String content,int frequency) throws NoSuchFieldException, IllegalAccessException;

    public void stopMsg();
}
